package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 城市表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_system_city")
@ApiModel(value="SystemCity对象", description="城市表")
public class SystemCity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "城市id")
      private Integer cityId;

      @ApiModelProperty(value = "省市级别")
      private Integer level;

      @ApiModelProperty(value = "父级id")
      private Integer parentId;

      @ApiModelProperty(value = "区号")
      private String areaCode;

      @ApiModelProperty(value = "名称")
      private String name;

      @ApiModelProperty(value = "合并名称")
      private String mergerName;

      @ApiModelProperty(value = "经度")
      private String lng;

      @ApiModelProperty(value = "纬度")
      private String lat;

      @ApiModelProperty(value = "是否展示")
      private Boolean isShow;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
